import request from '@/utils/request'
const baseURL = process.env.VUE_APP_LOGIN_BASE_API
/** 获取页面权限 */
export function pagePermission(menuCode, buttonGroup) {
  return request({
    baseURL,
    url: `/ucenter/api/v2/button/currentUser?menuCode=${menuCode}&buttonGroupCode=${buttonGroup}`,
    method: 'GET'
  })
}
